package com.roadjava.tutor.service;

import com.roadjava.tutor.bean.dto.TeacherJobDTO;
import com.roadjava.tutor.bean.dto.UserDTO;
import com.roadjava.tutor.bean.entity.Member;
import com.roadjava.tutor.bean.res.ResultDTO;
import com.roadjava.tutor.bean.vo.TeacherJobVO;
import com.roadjava.tutor.bean.vo.UserVO;

import java.util.List;

/**
 * 求职信息业务类
 * @author zhaodaowen
 * @see <a href="http://www.roadjava.com">乐之者java</a>
 */
public interface TeacherJobService {
    /**
     * 分页查询表格
     * @param dto
     * @return
     */
    ResultDTO<List<TeacherJobVO>> loadTable(TeacherJobDTO dto);

    /**
     * 添加求职信息
     * @param dto
     * @return
     */
    ResultDTO<String> add(TeacherJobDTO dto);

    /**
     * 根据id删除
     * @param id
     * @return
     */
    ResultDTO<String> deleteById(Long id);
}
